<?php 
header("Content-type: text/html; charset=UTF-8"); 
header("Pragma: no-cache"); 
header("Cache-Control: no-cache, must-revalidate, max-age=0"); 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link rel="stylesheet" type="text/css" href="<?php module_stylesheet(); ?>" />
		<script type="text/javascript" src="<?php module_theme(); ?>/js/jquery.js"></script>
		<script type="text/javascript" src="<?php module_theme(); ?>/js/+core.js"></script>
		<script type="text/javascript">
			Core.folder = "<?php site_folder(); ?>/";
			Core.article = {
				<?php if (function_exists('the_article_json')) { the_article_json(); } ?>
			};
			$(document).ready( function () {
				<?php if ($article) { ?>
				$("#edit-article-id-article").get(0).value = Core.article.idArticle;
				$("#edit-article-title").get(0).value = Core.article.title;
				$("#edit-article-slug").get(0).value = Core.article.slug;
				$("#edit-article-content").get(0).value = Core.article.content;
				<?php } ?>
			});
		</script>
		<title><?php the_title(); ?> &raquo; <?php site_title(); ?></title>
	</head>
	<body>
		<?php include("dialogs.php"); ?>
		<h1><?php the_title(); ?></h1>